<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>表单</title>
    <link rel="stylesheet" href="${ctx}/static/admin/layui/css/layui.css">
    <link rel="stylesheet" href="${ctx}/static/admin/css/formSelects-v4.css">
</head>
<body>
<div class="layui-card-body">
    <form id="serviceForm" class="layui-form layui-form-pane">
        <input name="tablename" type="hidden" value="${tablename! }"/>
        <input name="moduleid" type="hidden" value="${moduleid! }"/>
        <input id="itemid" name="id" type="hidden"/>
        <div class="layui-form-item" style="display: none">
            <div class="layui-input-block">
                <button id="submit-btn" class="layui-btn" lay-submit>立即提交</button>
                <button id="reset-btn" type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
    <button id="interface" onclick="interfaceBtn()" hidden>接口获取</button>
</div>
</body>
</html>
<script src="${ctx}/static/admin/layui/layui.js"></script>
<script src="${ctx}/static/admin/js/common.js"></script>
<script src="${ctx}/static/admin/service/form.js"></script>
<script>
    var ctx = '${ctx}', moduleid = '${moduleid!}', item = '${item!}',tablename = '${tablename!}',menutype='${type!}' ,id='${id!}';
</script>